package com.dms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import com.dms.common.config.JwtConfig;

@SpringBootApplication
@MapperScan({"com.dms.modules.*.mapper", "com.dms.mapper"})
@ComponentScan(basePackages = {"com.dms"})
@EnableScheduling
@EnableConfigurationProperties({JwtConfig.class})
public class DmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(DmsApplication.class, args);
    }
} 